import request from "../utils/request";

export function getComments(id) {
    return request.get(`/comment/${id}`)
}

export function insertComment(content, houseId, userId) {
    return request.post('/comment', {
        content, houseId, userId
    })
}